finding absolute value of complex numbers